<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 18-8-29
 * Time: 上午9:50
 */

namespace apps\httpd\controllers;


use mix\http\Controller;

class UeditorController extends Controller
{

    public function actionIndex()
    {
        app()->response->format = \mix\http\Response::FORMAT_JSON;
        $Ueditor = \apps\httpd\libraries\Ueditor::newInstanceByConfig('libraries.[Ueditor]');
        return $Ueditor->output_data();
    }

}
